import axios from "axios";
import storageUtils from "../utils/storageUtils.ts"

axios.defaults.baseURL = "http://xawn.f3322.net:8012";

export const getShop = (data) =>{

  let token = storageUtils.getStorage("token")
//   console.log(token);

  return axios({
      url:"/gen/shop/findAll",
      method:"GET",
      headers:{
          'Content-Type':'application/json;charset=UTF-8',
          'Authentication':token
      },
      params:{pageSize:100}
  });
}